<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      var arr = [44, 33, 22, 11, 66, 55];
      var flag = arr.some(function (val, i) {
        return val % 2 === 0;
        // some查找数组的特点条件 条件达成时,终止循环
      });
      console.log(flag);
    </script>
  </body>
</html>
